﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using DbFramework.Data.ORM;
using DbFramework.Data.ORM.Attributes;

namespace BasicLight.Web.Models
{
    [Serializable()]
    [ORMDataTable("RadioBase")]
    public class RadioBase : Entity
    {
        private string _ID;

        public static string M_ID = "ID";

        [KeyField(DbType.String, "")]
        public string ID
        {
            get
            {
                return this._ID;
            }
            set
            {
                this._ID = value;
            }
        }



        private string _NAME;

        public static string M_NAME = "NAME";

        [DataField(DbType.String)]
        public string NAME
        {
            get
            {
                return this._NAME;
            }
            set
            {
                this._NAME = value;
            }
        }



        private string _SUMMARY;

        public static string M_SUMMARY = "SUMMARY";

        [DataField(DbType.String)]
        public string SUMMARY
        {
            get
            {
                return this._SUMMARY;
            }
            set
            {
                this._SUMMARY = value;
            }
        }



        private string _LOGO;

        public static string M_LOGO = "LOGO";

        [DataField(DbType.String)]
        public string LOGO
        {
            get
            {
                return this._LOGO;
            }
            set
            {
                this._LOGO = value;
            }
        }



        private int _SORT;

        public static string M_SORT = "SORT";

        [DataField(DbType.Int32)]
        public int SORT
        {
            get
            {
                return this._SORT;
            }
            set
            {
                this._SORT = value;
            }
        }



        private System.Nullable<DateTime> _CREATEDATE;

        public static string M_CREATEDATE = "CREATEDATE";

        [DataField(DbType.DateTime)]
        public System.Nullable<DateTime> CREATEDATE
        {
            get
            {
                return this._CREATEDATE;
            }
            set
            {
                this._CREATEDATE = value;
            }
        }
    }

    [Serializable()]
    public class RadioBaseSet : EntitySet<RadioBase>
    {
    }
}